Database Perspectives on Blockchains

نویسندگان

  • Sara Cohen
  • Aviv Zohar
چکیده

Modern blockchain systems are a fresh look at the paradigm of distributed computing, applied under new assumptions of large-scale open public networks. They can be used to store and share information without a trusted central party. There has been much theoretical and practical effort to develop blockchain systems for a myriad of uses, ranging from cryptocurrencies to identity control, supply chain management, clearing and settlement, and more. However, none of this work has directly studied the many fundamental database-related issues that arise when using blockchains as the underlying infrastructure to store and manage data. The key difference between using blockchains to store data and centrally controlled databases (of any type) is that transactions are accepted to a blockchain via a consensus mechanism, and not by the controlling central party. Hence, once a user has issued a transaction, she cannot be certain if it will be accepted. Moreover, a yet unaccepted transaction cannot be retracted by the user, and may be appended to the blockchain at any point in the future. This causes difficulties as the user may wish to reissue a transaction, if it was not accepted. Yet this data may then become appended twice to the blockchain. In this paper, we present a database perspective on blockchains by introducing formal theoretical foundations for blockchains as a data storage layer that underlies a database. The main issue that we tackle is the uncertainty in transaction appending that is a direct result of the consensus mechanism. We study two flavors of the transaction appending problem. First, we consider the complexity of determining whether it is possible for a denial constraint to be contradicted, given the current state of the blockchain, pending transactions, and integrity constraints on blockchain data. Second, we determine the complexity of generating transactions that are (or are not) mutually consistent with given subsets of pending transactions. The ability to solve these problems is critical in ensuring that users can issue transactions that are consistent with their intentions. Finally, we chart directions for future work by discussing some of the new and important research challenges that arise when data are stored using blockchains. 2012 ACM Subject Classification H.2 Database Management

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Not Acid, Not Base, but Salt - A Transaction Processing Perspective on Blockchains

Traditional ACID transactions, typically supported by relational database management systems, emphasize database consistency. BASE provides a model that trades some consistency for availability, and is typically favored by cloud systems and NoSQL data stores. With the increasing popularity of blockchain technology, another alternative to both ACID and BASE is introduced: SALT. In this keynote p...

متن کامل

Detecting Insider Attacks on Databases using Blockchains

Applications relying on centralized databases are often vulnerable to insider attacks. Any user with administrative privileges to the database system or the hosting server, is capable of modifying the database entries. Furthermore, such a user might modify the corresponding log entries, making it extremely difficult to detect such an attack. Attribution of the attack to privileged users would a...

متن کامل

Untangling Blockchain: A Data Processing View of Blockchain Systems

Blockchain technologies are gaining massive momentum in the last few years. Blockchains are distributed ledgers that enable parties who do not fully trust each other to maintain a set of global states. The parties agree on the existence, values and histories of the states. As the technology landscape is expanding rapidly, it is both important and challenging to have a firm grasp of what the cor...

متن کامل

Sharding PoW-based Blockchains via Proofs of Knowledge

Blockchains based on proofs of work (PoW) currently account for more than 90% of the total market capitalization of existing digital cryptocurrencies. The security of PoWbased blockchains requires that new transactions are verified, making a proper replication of the blockchain data in the system essential. While existing PoW mining protocols offer considerable incentives for workers to generat...

متن کامل

Rethinking Permissioned Blockchains

Current blockchain platforms, especially the recent permissioned systems, have architectural limitations: smart contracts run sequentially, all node executes all smart contracts, consensus protocols are hard-coded, the trust model is static and not flexible, and non-determinism in smart-contract execution poses serious problems. Overcoming these limitations is critical for improving both functi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2018